package com.netty.websocket.netty;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName: ReceiveDataContent
 * @Description: netty用于接受的信息
 * @author yuyehong@cloudwalk.cn
 * @date 2020/4/2818:31
 * @version V1.3.0
 * @since 1.8
 */
@Data
public class ReceiveDataContent implements Serializable {

    private static final long serialVersionUID = 1155902834663674240L;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 操作类型(默认为 1 用户认证)
     */
    private Integer operaType = 1;

    /**
     * 消息
     */
    private String message;

    /**
     * 订阅类型
     */
    private Integer subType = 1;
}
